aux_source_directory(. SRC)

add_library(srtp_lua SHARED ${SRC})
if (WIN32)
    target_link_libraries(srtp_lua lua52 srtp2 ws2_32)
else ()
    target_link_libraries(srtp_lua lua52 srtp2)
endif ()